#!/usr/local/bin/python3
# -*- coding: UTF-8 -*-
"""
@author:apple
@file:隐藏属性.py
@time:2021/08/25
"""

class Person:

    __count = 0

    def __init__(self,name,age):
        self.__name = name
        self.__age = age

    def get_name(self):
        return self.__name

    def get_age(self):
        return self.__age

if __name__ == '__main__':
    pass
    print(Person.__dict__)
    per = Person('zhangsan', 21)
    print(per.get_name())
